package com.itheima.d0_generic;

//1.基于Demo03的需求，定义的泛型接口实现类
public class MyInterImpl implements MyGenericInter<String, Integer> {

    @Override
    public void method1(String data) {
        System.out.println(data);
    }

    @Override
    public Integer method2() {
        return 666;
    }
}
